﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" StylesheetTheme="Content" AutoEventWireup="true" CodeFile="ListenEdit.aspx.cs" Inherits="BasicBase_Listenner_ListenEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellpadding="0" width="770px" cellspacing="0" class="intable" border="0">
<caption>
<span>
用户信息修改
</span>
</caption>
<tr>
<td style="width:100px;">
用户登录ID：
</td>
<td>
<asp:Label ID="lblLoginID"  runat="server" ></asp:Label>
</td>
</tr>
    <tr>
        <td>
        用户名：
        </td>
        <td>
            <asp:Label ID="lblUserName" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
    <td>
    单位：
    </td>
    <td>
    <asp:DropDownList ID="DptDepartment" runat="server" Width="405px"></asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>旧密码：</td>
    <td>
        <asp:TextBox ID="txtOldPwd" runat="server" MaxLength="16" Width="400px" 
            TextMode="Password"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>密码：</td>
    <td>
        <asp:TextBox ID="txtPwd" runat="server" MaxLength="16" Width="400px" 
            TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtPwd" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>确认密码：</td>
    <td>
        <asp:TextBox ID="txtPwd2" runat="server" MaxLength="16" Width="400px" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="txtPwd2" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator><asp:CompareValidator
                ID="CompareValidator1" runat="server" ErrorMessage="两次密码不一致" 
            ControlToCompare="txtPwd" ControlToValidate="txtPwd2" Display="Dynamic"></asp:CompareValidator>
    </td>
    </tr>
    <tr>
    <td>
    
    </td>
    <td>
    <asp:Button ID="btnSave" Text="保 存" runat="server" onclick="btnSave_Click" />
    &nbsp;<asp:Button ID="btnNewPwd"  runat="server" Text="重置密码"
        OnClick="btnNewPwd_Click" CausesValidation="False" />
        <asp:Label ID="lblText" runat="server"  Text="重置后默认密码为（119119）"></asp:Label>
    <asp:Label ID="lblPromt" runat="server"  ForeColor="Red"></asp:Label>
    </td>
    </tr>
</table>
</asp:Content>

